package com.wish.finance.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.github.pagehelper.PageHelper;
import com.wish.finance.entity.TCwCheckBatchDetail;
import com.wish.finance.entity.TCwCheckBatchDetailVO;
import com.wish.finance.mapper.TCwCheckBatchDetailMapper;
import com.wish.finance.service.ITCwCheckBatchDetailService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 对账批次明细表（保存对账结果明细的表） 服务实现类
 * </p>
 *
 * @author 
 * @since 2022-03-28
 */
@Service
public class TCwCheckBatchDetailServiceImpl extends ServiceImpl<TCwCheckBatchDetailMapper, TCwCheckBatchDetail> implements ITCwCheckBatchDetailService {

	@Override
	public IPage<TCwCheckBatchDetail> listAll(TCwCheckBatchDetailVO vo) {
		Page<TCwCheckBatchDetail> page = new Page<>(vo.getPageNum(), vo.getPageSize());
		IPage<TCwCheckBatchDetail> tCwCheckBatchDetailIPage = getBaseMapper().listAll(page, vo);
		return tCwCheckBatchDetailIPage;
	}
}
